import java.io.Serializable;
import stock.volume.*;

public class NasdaqRecord implements Serializable {

    private String tick  ;
    private String date  ;
    private long   open  ;
    private long   high  ;
    private long   low   ;
    private long   close ;
    private int    volume;
   
    public NasdaqRecord() 
    {
	this( "", "", 0, 0, 0, 0, 0 );
    }
  
    public NasdaqRecord( String tick, String date, long open, long high, 
			      long low, long close, int volume )
    {
	setTick  ( tick );
	setDate  ( date );
	setOpen  ( open );
	setHigh  ( high );
	setLow   ( low  );
	setClose (close );
	setVolume     (volume);
    }

    //TICK
   
    public void setTick( String tk )
    {
	tick = tk;
    }
    public String getTick() { return tick; }

    //DATE   

    public void setDate( String dy )
    { date = dy; }
    
    public String getDate() { return date; }

    //OPEN 

    public void setOpen( long o )
    {
	open = o;
    }
    public long getOpen() { return open; }
      
    //HIGH 

    public void setHigh( long h )
    {
	high = h;
    }

    public long getHigh() { return high; }

    //LOW

    public void setLow( long l )
    {
	low = l;
    }

    public long getLow() { return low; }

    //CLOSE

    public void setClose( long cls )
    {
	close = cls;
    }

    public long getClose() { return close; }

    //VOLUME

    public void setVolume (int vum) 
    {
	volume = vum;
    }
    public int getVolume () { return volume; }

}








